projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92213e
)
GtkPopover: Don't resize during the transition
author
Timm Bäder
<mail@baedert.org>
Tue, 22 Sep 2015 18:27:51 +0000
(20:27 +0200)
committer
Timm Bäder
<mail@baedert.org>
Tue, 29 Sep 2015 13:28:55 +0000
(15:28 +0200)
Call gtk_popover_update_position instead which will pick up the new
transition_diff value and pass it on to
_gtk_window_set_popover_position, which in turn will move the window
correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=755435
gtk/gtkpopover.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpopover.c
b/gtk/gtkpopover.c
index 9b4d8ecf41ceae9428adebba1d43755454fe8a4b..5d5694c8fcf73cd913dd8dedc4c4ba4a123f99c1 100644
(file)
--- a/
gtk/gtkpopover.c
+++ b/
gtk/gtkpopover.c
@@
-517,7
+517,7
@@
show_animate_cb (GtkWidget *widget,
gtk_widget_set_opacity (widget, 1.0 - t);
}
- gtk_
widget_queue_resize (GTK_WIDGET (popover)
);
+ gtk_
popover_update_position (popover
);
if (t >= 1.0)
{